Skip to content

fix(ci): only exec-smoke host-native binary in release rehearsal - #21

Merged
nordicnode merged 1 commit into
mainfrom
fix-rehearsal-smoke
Aug 15, 2026
Merged

fix(ci): only exec-smoke host-native binary in release rehearsal#21
nordicnode merged 1 commit into
mainfrom
fix-rehearsal-smoke

Conversation

@nordicnode

Copy link
Copy Markdown
Owner

The release-rehearsal workflow's smoke step executed every matrix binary directly on the runner. Cross-compiled targets can't run on the host — the rehearsal's own run failed on aarch64-unknown-linux-gnu with Exec format error (an x86_64 ubuntu runner). macOS x86_64 passed only by luck of the current runner arch (it breaks the moment macos-latest goes arm64-only).

The real release smokes exactly one target (release.yml's install.sh smoke on ubuntu), so the rehearsal now mirrors that:

  • exec-smoke only x86_64-unknown-linux-gnu (the host-native build),
  • validate every other target's artifact by magic bytes (ELF / Mach-O / PE) without executing it — portable od/head/tr on all three runners.

Verified end-to-end: gh workflow run release-rehearsal.yml --ref fix-rehearsal-smoke → all 6 matrix jobs + the rehearsal job green (the previous main run had the aarch64 job red).

The rehearsal's smoke step executed every matrix binary directly on the
runner, but cross-compiled targets can't run there (aarch64 Linux on an
x86_64 host → Exec format error). The real release smokes exactly one
target (release.yml's install.sh smoke on ubuntu), so mirror that:
exec-smoke only the linux x86_64 binary and validate every other
target's artifact via magic bytes (ELF/Mach-O/PE) without executing.
@nordicnode
nordicnode merged commit e026012 into main Aug 15, 2026
18 checks passed
@nordicnode
nordicnode deleted the fix-rehearsal-smoke branch August 15, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant